//
//  CustomView.m
//  13-OutLayout强化
//
//  Created by 李昊林 on 16/8/1.
//  Copyright © 2016年 李昊林. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView
//内容大小
//UIView默认大小 -1，-1
- (CGSize)intrinsicContentSize {
    CGSize size = [super intrinsicContentSize];
    NSLog(@"%@",NSStringFromCGSize(size));
    //return size;
    return CGSizeMake(100, 100);
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
